Realm Kotlin SDK - Sync
/
io.realm.kotlin.mongodb.ext
/
CallBuilder
Call
Builder
@
ExperimentalRealmSerializerApi
()
class
CallBuilder
<
T
>
Content copied to clipboard
Builder used to construct a call defining serializers for the different arguments and return value.
Functions
Properties
Functions
add
Link copied to clipboard
inline fun <
T
:
Any
>
add
(argument:
T
)
Content copied to clipboard
Adds an argument with the default serializer for its type to the function call.
inline fun <
T
:
Any
>
add
(argument:
T
, serializer:
KSerializer
<
T
>)
Content copied to clipboard
Adds an argument with a user defined serializer to the function call.
Properties
returnValueSerializer
Link copied to clipboard
var
returnValueSerializer
:
KSerializer
<
T
>? = null
Content copied to clipboard
Serializer that would be used to deserialize the returned value, null by default.